package com.zs.zcerp.salary.mapper;

import com.alibaba.fastjson.JSONArray;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zs.zcerp.salary.entity.DeptDto;
import com.zs.zcerp.salary.entity.EsDailySalary;

import java.util.Date;
import java.util.List;

/**
 * 件资表
 * @author
 */
public interface EsDailySalaryMapper extends BaseMapper<EsDailySalary> {

    List<DeptDto> deptLists(Integer orgId);

    List<DeptDto> orgList();

    List<EsDailySalary> empLists(Date lastTime);

    List<EsDailySalary> empDeptLists(JSONArray orgIds, JSONArray deptNos, Date lastTime);

    List<EsDailySalary> empDeptSelectedLists(Integer orgId, JSONArray deptNos);

    List<EsDailySalary> findByEmpNo(String empNo, Date startTime, Date endTime);

}
